<?xml version="1.0" encoding="UTF-8"?>
<definitions xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:camunda="http://camunda.org/schema/1.0/bpmn"
  xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:omgdc="http://www.omg.org/spec/DD/20100524/DC"
  xmlns:omgdi="http://www.omg.org/spec/DD/20100524/DI" typeLanguage="http://www.w3.org/2001/XMLSchema"
  expressionLanguage="http://www.w3.org/1999/XPath" targetNamespace="Examples">
  
  <process id="calledProcessASync" isExecutable="true">
    
    <startEvent id="start" />
    
    <sequenceFlow sourceRef="start" targetRef="service" />
    
    <serviceTask id="service" camunda:delegateExpression="${calledProcessDelegate}" camunda:async="true" />
    
    <sequenceFlow sourceRef="service" targetRef="userTask" />
    
    <userTask id="userTask" />
    
    <sequenceFlow sourceRef="userTask" targetRef="end" />
    
    <endEvent id="end" />

  </process>
  
</definitions>